import React, { Component } from 'react'
import '../assets/styles/formBtn.less'
class FormBtn extends Component {
  render() {
    return this.props.type === 'ordinary' ? (
      <a href="###">{this.props.children}</a>
    ) : (
      <button className="btn">{this.props.children}</button>
    )
  }
}

export default FormBtn
